<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>hybridMPIC: __Fieldgroup Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../logo.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">hybridMPIC
   </div>
   <div id="projectbrief">A fully relativisitic 2d Particle-In-Cell(PIC) code, with explicit solver, MPI&amp;OpenMP support</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="../../classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="../../functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Data Fields</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">__Fieldgroup Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>__Simbox中grid上的二维场群  
 <a href="../../d7/dd8/class____Fieldgroup.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="../../dd/d81/fields_8h_source.html">fields.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for __Fieldgroup:</div>
<div class="dyncontent">
<div class="center"><img src="../../d6/de1/class____Fieldgroup__coll__graph.png" border="0" usemap="#____Fieldgroup_coll__map" alt="Collaboration graph"/></div>
<map name="____Fieldgroup_coll__map" id="____Fieldgroup_coll__map">
<area shape="rect" id="node3" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; long \&gt;" alt="" coords="30,71,149,98"/><area shape="rect" id="node5" href="../../d6/d9c/class____Vect2.html" title="__Vect2\&lt; double \&gt;" alt="" coords="23,189,155,215"/></map>
<center><span class="legend">[<a href="../../graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a50d245f44a60d5cd93f90c8afc58f827"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a50d245f44a60d5cd93f90c8afc58f827"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Fieldgroup</b> (const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#a255a314a604082cfd0b1bac3905e4904">xygridmax</a>)</td></tr>
<tr class="separator:a50d245f44a60d5cd93f90c8afc58f827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23378a935418a2e7a0477a6cf2632bfd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23378a935418a2e7a0477a6cf2632bfd"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Fieldgroup</b> (const <a class="el" href="../../d7/dd8/class____Fieldgroup.html">__Fieldgroup</a> &amp;other)</td></tr>
<tr class="separator:a23378a935418a2e7a0477a6cf2632bfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb984c1b853a499d916fcc66e768d6b9"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb984c1b853a499d916fcc66e768d6b9"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>__Fieldgroup</b> (const long &amp;xgrid, const long &amp;ygrid, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; <a class="el" href="../../d7/dd8/class____Fieldgroup.html#a8445e917f188f2dd259ffc75a94b6604">dxy</a>, const int bd_typer[], const int startindexr[], const int damp_lenr[])</td></tr>
<tr class="separator:abb984c1b853a499d916fcc66e768d6b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31cc2fb6da77763c9b7c4971c51756bd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31cc2fb6da77763c9b7c4971c51756bd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a31cc2fb6da77763c9b7c4971c51756bd">init</a> ()</td></tr>
<tr class="memdesc:a31cc2fb6da77763c9b7c4971c51756bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化场群 <br /></td></tr>
<tr class="separator:a31cc2fb6da77763c9b7c4971c51756bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32bc01df143ecf1c6527bccc11769ecd"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a32bc01df143ecf1c6527bccc11769ecd"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a32bc01df143ecf1c6527bccc11769ecd">set_value</a> (const <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;xygrid, <a class="el" href="../../d8/dca/class____Fields.html">__Fields</a> &amp;thisfield)</td></tr>
<tr class="memdesc:a32bc01df143ecf1c6527bccc11769ecd"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置xygrid处的场 <br /></td></tr>
<tr class="separator:a32bc01df143ecf1c6527bccc11769ecd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4371e159990cd6061970fa11f20ebbcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a4371e159990cd6061970fa11f20ebbcc">advancepre</a> (int rank, double delta_t)</td></tr>
<tr class="memdesc:a4371e159990cd6061970fa11f20ebbcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">先damping B，半步推动B，再加damping E  <a href="#a4371e159990cd6061970fa11f20ebbcc">More...</a><br /></td></tr>
<tr class="separator:a4371e159990cd6061970fa11f20ebbcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11e41011f78137a3e03e5e3c4953f4e7"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a11e41011f78137a3e03e5e3c4953f4e7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a11e41011f78137a3e03e5e3c4953f4e7">advancenex</a> (int rank, double delta_t)</td></tr>
<tr class="memdesc:a11e41011f78137a3e03e5e3c4953f4e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">推动一步E <br /></td></tr>
<tr class="separator:a11e41011f78137a3e03e5e3c4953f4e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3449c51cc5c71ac13e2c0cae3846b3d3"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3449c51cc5c71ac13e2c0cae3846b3d3"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a3449c51cc5c71ac13e2c0cae3846b3d3">dump</a> (const int &amp;rank, int n, string fname, int sp)</td></tr>
<tr class="memdesc:a3449c51cc5c71ac13e2c0cae3846b3d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">输出数据 <br /></td></tr>
<tr class="separator:a3449c51cc5c71ac13e2c0cae3846b3d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae357d0a08ca0cd09658e9c90436e24a0"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae357d0a08ca0cd09658e9c90436e24a0"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#ae357d0a08ca0cd09658e9c90436e24a0">set_nvalue</a> (int n, <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt; &amp;xygrid, <a class="el" href="../../da/d1a/class____Vect3.html">__Vect3</a>&lt; double &gt; &amp;myfield)</td></tr>
<tr class="memdesc:ae357d0a08ca0cd09658e9c90436e24a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置 n类 xygrid处场数据 0 E, 1, B, 2 J <br /></td></tr>
<tr class="separator:ae357d0a08ca0cd09658e9c90436e24a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e15bdd2bf9fae38a4413388325cd2f0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a2e15bdd2bf9fae38a4413388325cd2f0">update_efield</a> (double delta_t)</td></tr>
<tr class="memdesc:a2e15bdd2bf9fae38a4413388325cd2f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ampere定律更新电场  <a href="#a2e15bdd2bf9fae38a4413388325cd2f0">More...</a><br /></td></tr>
<tr class="separator:a2e15bdd2bf9fae38a4413388325cd2f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6380fbc6d60eefdcca497575282c2f6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6380fbc6d60eefdcca497575282c2f6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#af6380fbc6d60eefdcca497575282c2f6">update_bfield</a> (double delta_t)</td></tr>
<tr class="memdesc:af6380fbc6d60eefdcca497575282c2f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Faraday定律更新磁场 <br /></td></tr>
<tr class="separator:af6380fbc6d60eefdcca497575282c2f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51d8e02cc0acc4ec0863708f76e4a3ed"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a51d8e02cc0acc4ec0863708f76e4a3ed"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a51d8e02cc0acc4ec0863708f76e4a3ed">apply_boundary</a> ()</td></tr>
<tr class="memdesc:a51d8e02cc0acc4ec0863708f76e4a3ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">施加反射边界，如果bdtype已经设置，否则不起作用 <br /></td></tr>
<tr class="separator:a51d8e02cc0acc4ec0863708f76e4a3ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57b5b0dae0a9541a295ca38592d02457"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57b5b0dae0a9541a295ca38592d02457"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a57b5b0dae0a9541a295ca38592d02457">field_damp_multipy</a> (const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#ae712ee084c22647a5837e5457fa5694c">bd_type</a>, const int type, const int axis, const int direction, const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#a0180c1747a3c15d96c6c068c5f543236">startindex</a>, const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#a18a03b495104acb0823130c244ec13da">damp_len</a>)</td></tr>
<tr class="memdesc:a57b5b0dae0a9541a295ca38592d02457"><td class="mdescLeft">&#160;</td><td class="mdescRight">场damp 乘， bd_type是1会起作用，type0：电场，1：磁场，axis：0 along x，1：along y， direction：0：从小到大，1：从大到小 <br /></td></tr>
<tr class="separator:a57b5b0dae0a9541a295ca38592d02457"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9682f1c62250f773134a3e416d8eec85"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9682f1c62250f773134a3e416d8eec85"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a9682f1c62250f773134a3e416d8eec85">field_damp_divide</a> (const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#ae712ee084c22647a5837e5457fa5694c">bd_type</a>, const int type, const int axis, const int direction, const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#a0180c1747a3c15d96c6c068c5f543236">startindex</a>, const int &amp;<a class="el" href="../../d7/dd8/class____Fieldgroup.html#a18a03b495104acb0823130c244ec13da">damp_len</a>)</td></tr>
<tr class="memdesc:a9682f1c62250f773134a3e416d8eec85"><td class="mdescLeft">&#160;</td><td class="mdescRight">场damp 除， bd_type是1会起作用，type0：电场，1：磁场，axis：0 along x，1：along y， direction：0：从小到大，1：从大到小 <br /></td></tr>
<tr class="separator:a9682f1c62250f773134a3e416d8eec85"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:a3e9ceb9a297453c70487e0f3ef50b767"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3e9ceb9a297453c70487e0f3ef50b767"></a>
vector&lt; vector&lt; <a class="el" href="../../d8/dca/class____Fields.html">__Fields</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a3e9ceb9a297453c70487e0f3ef50b767">member</a></td></tr>
<tr class="memdesc:a3e9ceb9a297453c70487e0f3ef50b767"><td class="mdescLeft">&#160;</td><td class="mdescRight">field成员 <br /></td></tr>
<tr class="separator:a3e9ceb9a297453c70487e0f3ef50b767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f330338cb12c31497785ce2f2dbd584"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f330338cb12c31497785ce2f2dbd584"></a>
vector&lt; vector&lt; <a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt; &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a0f330338cb12c31497785ce2f2dbd584">grid</a></td></tr>
<tr class="memdesc:a0f330338cb12c31497785ce2f2dbd584"><td class="mdescLeft">&#160;</td><td class="mdescRight">每个field对应的grid，此次貌似没有用到，其实应该有关联性的，这个需要补充和修正 <br /></td></tr>
<tr class="separator:a0f330338cb12c31497785ce2f2dbd584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a255a314a604082cfd0b1bac3905e4904"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a255a314a604082cfd0b1bac3905e4904"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a255a314a604082cfd0b1bac3905e4904">xygridmax</a></td></tr>
<tr class="memdesc:a255a314a604082cfd0b1bac3905e4904"><td class="mdescLeft">&#160;</td><td class="mdescRight">xygridmax <br /></td></tr>
<tr class="separator:a255a314a604082cfd0b1bac3905e4904"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72b33509d6e684c0f73e2b02e080871f"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72b33509d6e684c0f73e2b02e080871f"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; long &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a72b33509d6e684c0f73e2b02e080871f">xygridmin</a></td></tr>
<tr class="memdesc:a72b33509d6e684c0f73e2b02e080871f"><td class="mdescLeft">&#160;</td><td class="mdescRight">fieldgroup的网格最小grid坐标 <br /></td></tr>
<tr class="separator:a72b33509d6e684c0f73e2b02e080871f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8445e917f188f2dd259ffc75a94b6604"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8445e917f188f2dd259ffc75a94b6604"></a>
<a class="el" href="../../d6/d9c/class____Vect2.html">__Vect2</a>&lt; double &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a8445e917f188f2dd259ffc75a94b6604">dxy</a></td></tr>
<tr class="memdesc:a8445e917f188f2dd259ffc75a94b6604"><td class="mdescLeft">&#160;</td><td class="mdescRight">xy 方向的空间步长 <br /></td></tr>
<tr class="separator:a8445e917f188f2dd259ffc75a94b6604"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae712ee084c22647a5837e5457fa5694c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae712ee084c22647a5837e5457fa5694c"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#ae712ee084c22647a5837e5457fa5694c">bd_type</a> [4]</td></tr>
<tr class="memdesc:ae712ee084c22647a5837e5457fa5694c"><td class="mdescLeft">&#160;</td><td class="mdescRight">边界条件类型 1: damping 0: reflecting 位置：0, 下， 1,上， 2,左，3右 <br /></td></tr>
<tr class="separator:ae712ee084c22647a5837e5457fa5694c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18a03b495104acb0823130c244ec13da"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a18a03b495104acb0823130c244ec13da"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a18a03b495104acb0823130c244ec13da">damp_len</a> [4]</td></tr>
<tr class="memdesc:a18a03b495104acb0823130c244ec13da"><td class="mdescLeft">&#160;</td><td class="mdescRight">damping length 用于吸收边界的pml吸收厚度 <br /></td></tr>
<tr class="separator:a18a03b495104acb0823130c244ec13da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0180c1747a3c15d96c6c068c5f543236"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0180c1747a3c15d96c6c068c5f543236"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d7/dd8/class____Fieldgroup.html#a0180c1747a3c15d96c6c068c5f543236">startindex</a> [4]</td></tr>
<tr class="memdesc:a0180c1747a3c15d96c6c068c5f543236"><td class="mdescLeft">&#160;</td><td class="mdescRight">damping　开始的网格 <br /></td></tr>
<tr class="separator:a0180c1747a3c15d96c6c068c5f543236"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a43587186c93a0a6dafea302519a52053"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43587186c93a0a6dafea302519a52053"></a>
ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>operator&lt;&lt;</b> (ostream &amp;out, const <a class="el" href="../../d7/dd8/class____Fieldgroup.html">__Fieldgroup</a> &amp;thisgroup)</td></tr>
<tr class="separator:a43587186c93a0a6dafea302519a52053"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>__Simbox中grid上的二维场群 </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4371e159990cd6061970fa11f20ebbcc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Fieldgroup::advancepre </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>rank</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>delta_t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>先damping B，半步推动B，再加damping E </p>
<p>场damp 乘， bd_type是1会起作用，type0：电场，1：磁场，axis：0 along x，1：along y， direction：0：从小到大，1：从大到小 </p>

</div>
</div>
<a class="anchor" id="a2e15bdd2bf9fae38a4413388325cd2f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void __Fieldgroup::update_efield </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>delta_t</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Ampere定律更新电场 </p>
<p>member[i][j].efield.member[0] += delta_t * ( - eps * member[i][j].jfield.member[0]);</p>
<p>dEy/dt = - dBz/dx - Jy member[i][j].efield.member[1] += - delta_t * ((member[i][j].bfield.member[2] -\ member[i-1][j].bfield.member[2]) * epsmu / dx + \ eps * member[i][j].jfield.member[1]); member[i][j].efield.member[2] += delta_t * (member[i+1][j].bfield.member[1] -\ member[i][j].bfield.member[1]) * epsmu / dx;</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="../../dd/d81/fields_8h_source.html">fields.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 16 2015 22:48:37 for hybridMPIC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="../../doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
